<div class="row">
	<div class="col-md-1">
	</div>
	<div class="col-md-8">

			<div class="form">

			<?php $form=$this->beginWidget('CActiveForm', array(
				'id'=>'category-form',
				'enableAjaxValidation'=>false,
			)); ?>

				<p class="note">Fields with <span class="required">*</span> are required.</p>

				<?php echo $form->errorSummary($model); ?>

				<div class="row">
					<?php echo $form->labelEx($model,'title'); ?>
			        <?php echo $form->textField($model, 'title', array('size' => 50,'class'=>'form-control')); ?>
					<?php echo $form->error($model,'title'); ?>
				</div>

				<div class="row">
					<?php echo $form->labelEx($model,'description'); ?>
					<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50,'class'=>'form-control')); ?>
					<?php echo $form->error($model,'description'); ?>
				</div>

				<div class="row buttons">
					<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save',array('class'=>'btn btn-primary')); ?>
				</div>

			<?php $this->endWidget(); ?>

			</div><!-- form -->
				
			</div>
	<div class='col-md-3'></div>
</div>